package com.xxzb.pack0823.线程同步.强化训练题;

import java.util.Arrays;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;

public class ArraySumForThreadPool {
    public static void main(String[] args) {

        //总和450948
        int[] nums1 = {4, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67};
        int[] nums2 = {4, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67};
        int[] nums3 = {4, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67};
        int[] nums4 = {4, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67};
        int[] nums5 = {4, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67};
//        int[] nums6 = {4, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67, 98, 45, 23, 44, 12, 54, 76, 87, 3, 65, 23, 76, 9, 78, 34, 67};
        List<int[]> list = Arrays.asList(nums1, nums2, nums3, nums4, nums5);
        int[][] numArray = {nums1, nums2, nums3, nums4, nums5};

        long total=0l;
        ExecutorService executorService = Executors.newFixedThreadPool(5);

        long start = System.currentTimeMillis();
        Future<Long>[] futures = new Future[5];
        int index = 0;
        for (int[] nums : list){
            futures[index] = executorService.submit(() -> {
                long sum = 0;
                for (int i = 0; i < nums.length; i++) {
                    sum += nums[i];
                }
                return sum;
            });
            index++;
        }

        try {
            for (int i = 0; i < futures.length; i++) {
                try {
                    total+=futures[i].get();
                } catch (ExecutionException e) {
                    e.printStackTrace();
                }
            }
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

        long end = System.currentTimeMillis();

        System.out.println("总和:"+total+",耗时:"+(end-start));
    }
}

